.class Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d$b;
.super Ljava/lang/Object;
.source "ThemeFolderActivity.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d$b;->a:Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 2

    .line 1
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_0

    .line 2
    iget-object p2, p0, Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d$b;->a:Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d;

    invoke-static {p2}, Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d;->a(Lcom/estrongs/android/ui/theme/ThemeFolderActivity$d;)Landroid/content/Context;

    move-result-object p2

    invoke-virtual {p2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p2

    const v0, 0x7f060078

    invoke-virtual {p2, v0}, Landroid/content/res/Resources;->getColor(I)I

    move-result p2

    invoke-virtual {p1, p2}, Landroid/view/View;->setBackgroundColor(I)V

    goto :goto_0

    .line 3
    :cond_0
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const/4 v1, 0x3

    if-eq v0, v1, :cond_1

    .line 4
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p2

    const/4 v0, 0x1

    if-ne p2, v0, :cond_2

    :cond_1
    const/4 p2, 0x0

    .line 5
    invoke-virtual {p1, p2}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    :cond_2
    :goto_0
    const/4 p1, 0x0

    return p1
.end method
